<%-- 
    Document   : inSession
    Created on : 19/11/2012, 03:31:35 PM
    Author     : Christopher Garrido
--%>

<%@page import="edu.upc.wib.entity.Credential"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>ValidarSession</title>
    </head>
    <body>
        <%

            if (!session.isNew()) {
                out.println("No ha iniciado session");
                session.setAttribute("credential", null);
                request.getRequestDispatcher("login.jsp").forward(request, response);
            }


        %>
    </body>
</html>
